/*
 * Shot.cpp
 *
 *  Created on: Oct 6, 2012
 *      Author: Administrator
 */

#include "Shot.h"

using namespace Osp::Base;
using namespace Osp::Base::Utility;

Shot::Shot() {

}

Shot::Shot(Osp::Base::ByteBuffer* pData, Osp::Base::String* pName, long pSize) {
	byteBuffer = pData;
	name = pName;
	size = pSize;
}

Shot::~Shot() {

}

Osp::Base::ByteBuffer*
Shot::GetBytes(void) {
	return byteBuffer;
//	String str(L"abc");
//	return StringUtil::StringToUtf8N(str);
}

Osp::Base::String*
Shot::GetName() {
	return name;
}

long
Shot::GetSize() {
	return size;
}
